import request from '@/utils/request'

export const getRolelist = (data) => {
  return request({
    url: 'api/role/getrolelist',
    method: 'post',
    data: data
  })
}
export const addrole = (data) => {
  return request({
    url: 'api/role/addrole',
    method: 'post',
    data: data
  })
}

export const deluser = (data) => {
  return request({
    url: '/api/role/delrole',
    method: 'post',
    data: data
  })
}
